package com.chhh.cranelease.service;

import com.chhh.cranelease.entity.CarState;
import com.chhh.cranelease.mapper.CarStateDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarStateService {
    @Autowired
    private CarStateDao dao;
    public List<CarState> selectAll(){
        return dao.selectAll();
    }
}
